package com.macro.mall.dto.applet;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author xq
 * @description AppletSignDTO
 * @date 2024/5/6 17:25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AppletHolidayDTO {

    @ApiModelProperty(value = "用户编号")
    private Long memberId;

    @ApiModelProperty(value = "请假时长")
    private Integer timeInterval;

    @ApiModelProperty(value = "打卡日期 ")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date date;

}
